Page({
  data: {
    moments: [
      {
        avatar: '../../images/微信图片9.jpg',
        nickname: '刘星星',
        desc: '夏天到了，很适合出去玩！',
        images: [
          'http://localhost:3000/images/微信图片11.png',
          '../../images/微信图片5.jpg',
          '../../images/微信图片6.jpg',
          '../../images/微信图片7.jpg',
          '../../images/微信图片8.jpg',
          '../../images/微信图片13.jpg',
          '../../images/微信图片14.jpg',
          '../../images/微信图片2.jpg',
          '../../images/微信图片3.jpg'
        ],
        time: '30分钟前'
      },
      {
        avatar: '../../images/微信图片11.png',
        nickname: '李星星',
        desc: '今天依旧是努力学习',
        images: [
            '../../images/微信图片10.jpg',
            '../../images/微信图片1.jpg',
            '../../images/微信图片4.jpg',
            '../../images/微信图片12.png'
        ],
        time: '昨天 19:50'
      },
      {
        avatar: '../../images/微信图片3.jpg',
        nickname: 'LXX',
        desc: '今天天气真好',
        images: [
            '../../images/微信图片5.jpg',
            '../../images/微信图片8.jpg'
        ],
        time: '昨天 17:30'
      }
    ]
  },
  onCameraClick() {
    wx.showToast({
      title: '打卡功能未实现',
      icon: 'none'
    });
  },
    takePhoto() {
        wx.navigateTo({
            url: '/pages/photo/photo'
        });
    },
})
